"""
最小测试应用
"""
from fastapi import FastAPI
import uvicorn

app = FastAPI(title="测试应用")

@app.get("/")
async def root():
    return {"message": "Hello World", "status": "ok"}

@app.get("/health")
async def health():
    return {"status": "healthy"}

if __name__ == "__main__":
    print("启动最小测试应用...")
    uvicorn.run(app, host="127.0.0.1", port=8000)
